package prostucter;

public class Test {

	public static void main(String[] args) {
		Repository<Baozi> zh=new Repository<>(10);
		Producer producer=new Producer(zh);
		Customer customer=new Customer(zh);
		producer.start();
		customer.start();
	}

}


